@… I’ve faced that problem too! I always end up writing a bridge that calls Swift from JavaScript, so I can use AVAudioPlayer, just to work around how unreliable audio is in WKWebView.
Node v22 is out today (https://github.com/nodejs/node/releases/tag/v22.0.0) and it's a biggie:
- Support for require(esm) for sync modules (i.e. most of them)
- Built-in websocket support
- node --run <x> (replacing npm run <x>)
- fs.g…